gdk: Remove deprecated gdk_add_option_entries_libgtk_only and gdk_pre_parse_libgtk_only
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 24 Oct 2016 08:31:37 +0000 (10:31 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 24 Oct 2016 08:33:51 +0000 (10:33 +0200)
docs/reference/gdk/gdk4-sections.txt
gdk/gdk.c
gdk/gdkmain.h

index 10629d08a6448c4436487b3e3d6e234386499238..fa1f6e78de8f2cd1ff2687e152b7e8ed5699ebe5 100644 (file)
@@ -91,8 +91,6 @@ gdk_window_type_get_type
 gdk_window_type_hint_get_type
 gdk_wm_decoration_get_type
 gdk_wm_function_get_type
-gdk_add_option_entries_libgtk_only
-gdk_pre_parse_libgtk_only
 </SECTION>
 
 <SECTION>
index 46cd9c5a5c0f674073090d83a1dd6c7e1923dd30..ae6ffebe7346552b2378aac8399b24352b692798 100644 (file)
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -255,22 +255,6 @@ gdk_add_option_entries (GOptionGroup *group)
   g_option_group_add_entries (group, gdk_args);
 }
 
-/**
- * gdk_add_option_entries_libgtk_only:
- * @group: An option group.
- *
- * Appends gdk option entries to the passed in option group. This is
- * not public API and must not be used by applications.
- *
- * Deprecated: 3.16: This symbol was never meant to be used outside
- *   of GTK+
- */
-void
-gdk_add_option_entries_libgtk_only (GOptionGroup *group)
-{
-  gdk_add_option_entries (group);
-}
-
 static gpointer
 register_resources (gpointer dummy G_GNUC_UNUSED)
 {
@@ -339,21 +323,6 @@ gdk_pre_parse (void)
     }
 }
 
-/**
- * gdk_pre_parse_libgtk_only:
- *
- * Prepare for parsing command line arguments for GDK. This is not
- * public API and should not be used in application code.
- *
- * Deprecated: 3.16: This symbol was never meant to be used outside
- *   of GTK+
- */
-void
-gdk_pre_parse_libgtk_only (void)
-{
-  gdk_pre_parse ();
-}
-  
 /**
  * gdk_parse_args:
  * @argc: the number of command line arguments.
index e39dc4aed086d57e8c26e34a260413f02ceade0a..2e1061dd9998923c953695a281735202a791249c 100644 (file)
@@ -49,10 +49,6 @@ void                  gdk_init                            (gint           *argc,
 GDK_AVAILABLE_IN_ALL
 gboolean              gdk_init_check                      (gint           *argc,
                                                            gchar        ***argv);
-GDK_DEPRECATED_IN_3_16
-void                  gdk_add_option_entries_libgtk_only  (GOptionGroup   *group);
-GDK_DEPRECATED_IN_3_16
-void                  gdk_pre_parse_libgtk_only           (void);
 
 GDK_AVAILABLE_IN_ALL
 const gchar *         gdk_get_program_class               (void);